<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe AbstractCtrl</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe AbstractCtrl</h1><!-- doxytag: class="AbstractCtrl" -->
<p>Classe abstraite des controleurs.  
<a href="#_details">Plus de détails...</a></p>
<div class="dynheader">
Graphe d'héritage de AbstractCtrl:</div>
<div class="dynsection">
 <div class="center">
  <img src="class_abstract_ctrl.png" usemap="#AbstractCtrl_map" alt=""/>
  <map id="AbstractCtrl_map" name="AbstractCtrl_map">
<area href="class_ctrl.html" alt="Ctrl" shape="rect" coords="0,56,79,80"/>
<area href="class_ctrl.html" alt="Ctrl" shape="rect" coords="89,56,168,80"/>
<area href="class_ctrl.html" alt="Ctrl" shape="rect" coords="178,56,257,80"/>
<area href="class_ctrl.html" alt="Ctrl" shape="rect" coords="267,56,346,80"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#ae5ba7b0f37dba3389a1c29d56689c5d9">init</a> ($dir, $klg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialisation du ctrl  Array $lg Tableau de langue.  <a href="#ae5ba7b0f37dba3389a1c29d56689c5d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#a4ec07713314d8ac8264ede1cd95cc42d">call</a> ($nom)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Permet d'appeler une méthode.  <a href="#a4ec07713314d8ac8264ede1cd95cc42d"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres protégées</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#aa8bd3822b1c09aa19e7d2f392ad319cf">parse</a> ($f, $noheader=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Affiche un fichier template.  <a href="#aa8bd3822b1c09aa19e7d2f392ad319cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#a42201d7f7cf8eed180bfe26d821d10c1">parseAjax</a> ($f)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Affiche un fichier template sans rien autour.  <a href="#a42201d7f7cf8eed180bfe26d821d10c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#a6cb0c618f8605a0ad27bb1646f072862">verif</a> ($n)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Permet de vérifier si la personne qui visite le site à les droits nécessaires.  <a href="#a6cb0c618f8605a0ad27bb1646f072862"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs protégés</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#aac4b875a598158d51d44a2b061265016">$pk</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Primary key.  <a href="#aac4b875a598158d51d44a2b061265016"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#a0a44e6760141442bb439b1ab1395d8ff">$page</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Page en crous.  <a href="#a0a44e6760141442bb439b1ab1395d8ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_ctrl.html#a1659f0a629d408e0f849dbe4ee061e62">$dir</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dossier du module (tpl).  <a href="#a1659f0a629d408e0f849dbe4ee061e62"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe abstraite des controleurs. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaétan Collaud </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a4ec07713314d8ac8264ede1cd95cc42d"></a><!-- doxytag: member="AbstractCtrl::call" ref="a4ec07713314d8ac8264ede1cd95cc42d" args="($nom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">call </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>nom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [final]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Permet d'appeler une méthode. </p>
<p>En général, une méthode = une page. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$nom nom de la méthode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae5ba7b0f37dba3389a1c29d56689c5d9"></a><!-- doxytag: member="AbstractCtrl::init" ref="ae5ba7b0f37dba3389a1c29d56689c5d9" args="($dir, $klg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">init </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>klg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialisation du ctrl  Array $lg Tableau de langue. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$dir Dossier template du module </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$klg Clé pour le tableau de langue </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa8bd3822b1c09aa19e7d2f392ad319cf"></a><!-- doxytag: member="AbstractCtrl::parse" ref="aa8bd3822b1c09aa19e7d2f392ad319cf" args="($f, $noheader=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parse </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>noheader</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [final, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche un fichier template. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$f fichier </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>boolean</em>&nbsp;</td><td>$noheader s'il faut cacher le menu </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a42201d7f7cf8eed180bfe26d821d10c1"></a><!-- doxytag: member="AbstractCtrl::parseAjax" ref="a42201d7f7cf8eed180bfe26d821d10c1" args="($f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseAjax </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [final, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche un fichier template sans rien autour. </p>
<p>Utiliser pour les requête Ajax. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$f fichier </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6cb0c618f8605a0ad27bb1646f072862"></a><!-- doxytag: member="AbstractCtrl::verif" ref="a6cb0c618f8605a0ad27bb1646f072862" args="($n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">verif </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>n</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [final, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Permet de vérifier si la personne qui visite le site à les droits nécessaires. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$n le nom du droit (faq, membre, ...) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a1659f0a629d408e0f849dbe4ee061e62"></a><!-- doxytag: member="AbstractCtrl::$dir" ref="a1659f0a629d408e0f849dbe4ee061e62" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$dir<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Dossier du module (tpl). </p>

</div>
</div>
<a class="anchor" id="a0a44e6760141442bb439b1ab1395d8ff"></a><!-- doxytag: member="AbstractCtrl::$page" ref="a0a44e6760141442bb439b1ab1395d8ff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$page<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Page en crous. </p>

</div>
</div>
<a class="anchor" id="aac4b875a598158d51d44a2b061265016"></a><!-- doxytag: member="AbstractCtrl::$pk" ref="aac4b875a598158d51d44a2b061265016" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$pk<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Primary key. </p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/abstract/<a class="el" href="_abstract_ctrl_8php.html">AbstractCtrl.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
